import request from '@/utils/request';


// 查询可开票代发批次列表
export const canInvoicingList = (query) => {
  return request({
    url: '/payment/invoice/canInvoicingList',
    method: 'get',
    params: query
  });
};

// 查询商户指定产品的开票类目
export const invoiceTypetypes = (query) => {
  return request({
    //url: '/payment/invoiceType/types',
    url: '/payment/invoiceType/getListKpInvoice',
    method: 'get',
    params: query
  });
};

// 新增发票记录
export const paymentinvoice = (query) => {
  return request({
    url: '/payment/invoice',
    method: 'post',
    data: query
  });
};
